/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.uoc.tdp.pac4.comun;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.sql.SQLException;


import edu.uoc.tdp.pac4.beans.Usuari;
/**
 *
 * @author andres
 */
public interface GestorLoginInterface extends Remote {
    
     public int usuariLogin(String username, String password) throws RemoteException, SQLException;
     public String saludo() throws RemoteException;
     public Usuari loadUsuari(int id) throws RemoteException, SQLException;
    
}
